package com.wu.gconduit.realtime.util

import redis.clients.jedis.Jedis

//连接Redis的工具
object RedisUtil {
  val host = ConfigUtil.getProperty("redis.host")
  val port = ConfigUtil.getProperty("redis.port").toInt


  def getClient = {
    val client = new Jedis(host, port, 60 * 1000)
    client.connect()
    client
  }

}
